<include file="header" />
<script type="text/javascript" src="__PUBLIC__/Js/My97DatePicker/WdatePicker.js"></script>
<div class="uc_con">
  <div class="uc_con_top">
    <h1><img src="__PUBLIC__/Images/hyzx.jpg" width="320" height="54" /></h1>
    	 <include file="login_info" />
    <div class="uc_con_cen">
              <include file="left" />
              
             <div class="uc_con_cen_re fright">
                 <img src="__PUBLIC__/Images/uc_ad.jpg" width="822" height="62" />
                 <div class="uc_smg"><span class="fred">家会网商城上线，赶快来挑选你喜欢的家居产品吧！</span></div>
                 <div class="fbxx">
                      <h3><span class="fbxx_le">编辑资料</span></h3>
               </div>
                      <div class="fbxx_con">
<!--                      <div class="xg_tit"><strong>修改头像</strong></div>
                      <table width="96%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="26%"><img src="__PUBLIC__/Images/tx.jpg" width="120" height="120" class="xg_tx" /></td>
                          <td width="74%"><input type="submit" name="button" id="button" value="选择文件" />
                              <label>未选择文件</label>
                              <p>&nbsp;</p>
                            <p>图片格式:GIF、JPG、JPEG、PNG,最适合尺寸120*120 像素 </p></td>
                        </tr>
                      </table>
                      <div class="xg_tit"><strong>修改昵称</strong></div>
                      <table width="91%" height="60" border="0" cellpadding="0" cellspacing="5">
                        <tr>
                          <td width="14%" height="31"><div align="right">昵称：</div></td>
                          <td width="86%"><p>
                              <label>
                              <input name="textfield5" type="text" class="login_right_b" id="textfield7" />
                              </label>
                          </p></td>
                        </tr>
                        <tr>
                          <td height="29">&nbsp;</td>
                          <td height="29" class="fred">已经被使用!</td>
                        </tr>
                      </table>-->
                      <div class="xg_tit"><strong>修改联系方式</strong></div>
                      <form action="__APP__/Member/bjzl" method="post" id="form1">
                      <table width="91%" height="96" border="0" cellpadding="0" cellspacing="5">
                        <tr>
                          <td width="14%" height="31"><div align="right">手机：</div></td>
                          <td width="86%"><p>
                              <label>
                              <input name="mobile" type="text" class="login_right_b" id="mobile" value="{$member['mobile']}" />
                              </label>
                          </p></td>
                        </tr>
                        <tr>
                          <td height="32"><div align="right">座机：</div></td>
                          <td width="86%"><input name="telphone" type="text" class="login_right_b" id="telphone" value="{$member['telphone']}" /></td>
                        </tr>
                        <tr>
                          <td><div align="right">QQ：</div></td>
                          <td width="86%"><input name="qq" type="text" class="login_right_b" id="qq" value="{$member['qq']}" /></td>
                        </tr>
                      </table>
                      <div class="xg_tit"><strong>修改资料</strong></div>
                      <table width="91%" height="96" border="0" cellpadding="0" cellspacing="5">
                        <tr>
                          <td width="14%" height="31"><div align="right">性别：</div></td>
                          <td width="86%"><p>
                              <label>
                              <input type="radio" name="gender" id="radio" value="1" 
                              <if condition="$member['gender'] eq 1">checked="checked" </if> />
                              </label>
                            男
                            <input type="radio" name="gender" id="radio2" value="0" 
                            <if condition="$member['gender'] eq 0">checked="checked" </if> />
                            女 </p></td>
                        </tr>
                        <tr>
                          <td height="32"><div align="right">出生日期：</div></td>
                          <td width="86%">
                          	<input name="birthday" type="text" class="login_right_b" id="birthday" value="{$member['birthday']}" 
                            onclick="WdatePicker( { startDate:{$member['birthday']} } )"/>
                          </td>
                        </tr>
                        <tr>
                          <td><div align="right">地址：</div></td>
                          <td width="86%"><input name="address" type="text" class="login_right_b" id="address" value="{$member['address']}" /></td>
                        </tr>
                        <!--<tr>
                          <td><div align="right">邮编：</div></td>
                          <td><input name="postcode" type="text" class="login_right_b" id="postcode" value="{$member['postcode']}"/></td>
                        </tr>-->
                        <tr>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td><a href="javascript:void(0)" onclick="return submitForm('form1')">
                          	<img src="__PUBLIC__/Images/wcxg.jpg" width="101" height="33" />
                            </a></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                        </tr>
                      </table>
                      </form>
                      </div>
      </div>
             <div class="clean"></div>
    </div>
  </div><div class="clean"></div>
  <div class="login_bottom" style="width:990px;">
  <p>家会网 版权所有</p>
  <p> 如需帮助，请拨打 400-500-6789 Copyright&copy;2013 Jiahuiwang Corporation, All Rights Reserved </p>
</div>
</div>
</body>
</html>
<script type="text/javascript">
function submitForm(formId){
	var from = $("#"+formId);
	var postUrl = from.attr("action");
	common.addMask('#FFFFFF',0.5);
	$.post(postUrl,from.serialize(),function(data){
		if(data){
			alert(data);
		}else{
			alert('修改成功');
		}
		common.removeMask();

	});
	return false;
}
</script>